package com.mc.provider.generate.register;

import com.mc.mic.core.bo.CmdBO;
import com.mc.mic.core.provider.BaseServiceRegister;
import com.mc.provider.param.HelloRequestParam;
import com.mc.provider.param.HelloResponseParam;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 自动生成，不允许修改
 *
 * @author Liu Chunfu
 * @date 2018/1/3
 */
@RestController
public class HelloMicServiceRegister extends BaseServiceRegister {


    @PostMapping("/world")
    public CmdBO world(@RequestBody CmdBO<HelloRequestParam, HelloResponseParam> cmdBO) {
        System.out.println("HelloMicServiceRegister Invoke...");
        CmdBO<HelloRequestParam, HelloResponseParam> resultParamCmdBO = super.serviceExecutor(cmdBO);
        return resultParamCmdBO;
    }

}
